package bigdata.backend.monitor.binlog;

import bigdata.backend.monitor.binlog.entity.MonitorRule;
import bigdata.backend.monitor.binlog.service.MonitorRuleService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class TestMonitorRuleService {

    @Autowired
    private MonitorRuleService monitorRuleService;

    @Test
    public void test() {
        List<MonitorRule> list = monitorRuleService.list();
        list.forEach(System.out::println);
    }
}
